package cn.ctvonline.android.kaopu.entity;

import android.graphics.Bitmap;

import java.util.List;

/**
 * Created by dujian on 15/12/3.
 */
public class ExpandEntry {
    private Bitmap icon;
    private String value;
    private Bitmap moreIcon;
    private boolean hasMore;
    private List<ExpandEntry> moreList;

    public Bitmap getIcon() {
        return icon;
    }

    public void setIcon(Bitmap icon) {
        this.icon = icon;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public Bitmap getMoreIcon() {
        return moreIcon;
    }

    public void setMoreIcon(Bitmap moreIcon) {
        this.moreIcon = moreIcon;
    }

    public boolean isHasMore() {
        hasMore = moreList != null && moreList.size() > 0;
        return hasMore;
    }

    public List<ExpandEntry> getMoreList() {
        return moreList;
    }

    public void setMoreList(List<ExpandEntry> moreList) {
        this.moreList = moreList;
    }
}
